package com.econ.powercloud.ems.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.econ.powercloud.ems.dal.entity.EmsPeakShiftDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 移峰填谷详情表 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-07-22
 */
@Mapper
public interface EmsPeakShiftDetailMapper extends BaseMapper<EmsPeakShiftDetail>{

    /**
     * 批量保存移峰填谷详情数据
     * @param emsPeakShiftDetails
     * @return
     */
    Integer insertBatch(@Param("list") List<EmsPeakShiftDetail> emsPeakShiftDetails);

}
